package com.southpark.system.view
{
	import com.southpark.system.interfaces.view.IViewController;
	import com.southpark.system.interfaces.view.IViewUI;
	
	import mx.events.FlexEvent;
	
	import spark.components.Group;


	public class AbstractViewUI extends Group implements IViewUI
	{
		public function AbstractViewUI()
		{
			super();
			addEventListener(FlexEvent.CREATION_COMPLETE,function():void{onCreated()});
		}
		
		protected function onCreated():void
		{
			
		}
		
		public function get viewController():IViewController
		{
			return null;
		}
		
		private const DEFAULT_TITLE:String = "DEFAULT_TITLE";
		public function get title():String
		{
			return DEFAULT_TITLE;
		}
		
	}
}